package Decorator;
import Component.Component;

public class DecoratorShoe extends Decorator{
    public DecoratorShoe(Component componentInit) {
        super(componentInit);
    }

    private void AddShoeOutfit(){
        System.out.println("已装备靴子");
    }
    @Override
    public void operation(String charctor){
        super.operation(charctor);
        AddShoeOutfit();
    }
}
